#ifndef __BSP_H__
#define __BSP_H__

#include "stm32l1xx_hal.h"

extern void setLcdPower(FunctionalState status);
extern void setLedPower(FunctionalState status);
extern void setLedCurrent(uint8_t current);

extern void key1Work(void);
extern void key2Work(void);
extern void key3Work(void);

typedef enum  {
	MODE_CONTRAST,
	MODE_LED
} MODE;

#ifdef DEBUG
void test_setLcdPower(void);
#endif 



extern void ledFlash3(void);


#endif
